How To Call Stored Function From Trigger Function